crypto/aes.gcmAsm.tagSize (field)
10 uses
crypto/aes (current package)
aes_gcm.go#L48: g := &gcmAsm{ks: c.enc, nonceSize: nonceSize, tagSize: tagSize}
aes_gcm.go#L63: tagSize int
aes_gcm.go#L71: return g.tagSize
aes_gcm.go#L116: ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
aes_gcm.go#L137: if g.tagSize < gcmMinimumTagSize {
aes_gcm.go#L141: if len(ciphertext) < g.tagSize {
aes_gcm.go#L144: if uint64(len(ciphertext)) > ((1<<32)-2)*uint64(BlockSize)+uint64(g.tagSize) {
aes_gcm.go#L148: tag := ciphertext[len(ciphertext)-g.tagSize:]
aes_gcm.go#L149: ciphertext = ciphertext[:len(ciphertext)-g.tagSize]
aes_gcm.go#L178: if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |